using System;
using System.Runtime.Serialization;

namespace OpenWaves
{
    [Serializable]
    public partial class FileUrl
    {
        protected FileUrl(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            this.path = UrlPath.Parse(this.Uri.AbsolutePath);
            this.query = UrlQueryCollection.Parse(this.Uri.Query);
        }
    }
}